package com.ruoyi.demo.domain

import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.Table
import com.ruoyi.common.core.domain.BaseEntity
import com.ruoyi.demo.domain.dto.DemoDTO
import io.github.linpeilie.annotations.AutoMapper
import io.github.linpeilie.annotations.AutoMappers

/**
 * @author LikeYouDo
 * @date 2025/09/23
 */
@Table("demo")
@AutoMappers(
    AutoMapper(target = DemoDTO::class)
)
data class Demo(
    @Id
    var id: Long? = null,
    var name: String? = null
) : BaseEntity()